package cn.z2huo.knowledge.designpattern.proxy.dynamic.jdk;

class Main {

    public static void main(String[] args) {
        JdkProxyExample jdkProxyExample = new JdkProxyExample();
        HelloWorld helloworld = (HelloWorld) jdkProxyExample.bind(new HelloWorldImpl());
        helloworld.sayHelloWorld("Han Meimei");
        helloworld.sayHelloWorld();
    }

}
